package com.zy.explore.license.interfaces.frm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * description 通用ID参数对象(String)
 *
 * @author 🇨🇳中国印🇨🇳
 * @date 2022年04月17日 02:36:49
 * @since 1.0.0
 */
@ApiModel("通用ID批量查询操作Frm")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommonIdsFrm {

    @ApiModelProperty(value = "主键ID", example = "['1', '2']", required = true)
    @NotEmpty(message = "ID集合不能为空")
    private List<String> ids;

}
